package com.thiswhyme.stream.rabbit.consumer1.channel;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @description: message input 通道
 * @author: thiswhyme
 * @date: 2020/9/16
 */
public interface InputChannel {

    String INPUT_CHANNEL_LOG = "consumer1LogInputChannel";

    String INPUT_CHANNEL_PARTITION = "partitionInputChannel";

    String INPUT_CHANNEL_MANUAL = "manualInputChannel";

    @Input(INPUT_CHANNEL_LOG)
    SubscribableChannel logInputChannel();

    @Input(INPUT_CHANNEL_PARTITION)
    SubscribableChannel partitionInputChannel();

    @Input(INPUT_CHANNEL_MANUAL)
    SubscribableChannel manualInputChannel();
}
